package com.atguigu.day17.homework.h3;

/**
 * @version 1.0
 * @Author 马冰
 * @Date 2024/11/21 16:48
 * @注释
 */
public class Student {
    private String name;
    private double score;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "Student [name=" + name + ", score=" + score + "]";
    }

    public Student(String name, double score) {
        this.name = name;
        this.score = score;
    }
}
